package MP.ASTs;

import MP.CompilationException;
import MP.lexicalanalysis.Token;

public class ConstDeclAST extends OneDeclAST {
	public LiteralAST	l;
	public ConstDeclAST(Token n, LiteralAST lit) {
		name = n;
		l = lit;
		l.parent = this;
	}
	
	public Object visit(Visitor v, Object o) throws CompilationException{
		return v.visitConstDeclAST(this,o);
	}
}